<?php 
if(!defined('EMLOG_ROOT')) {exit('error!');}
include getViews('side');
?>
<div  id="items"  class="frame">
<ul>
<?php doAction('index_loglist_top'); ?>
<?php
foreach($logs as $value):
?>
<li class="item even">
	<?php topflg($value['top']); ?><img src="<?php echo TEMPLATE_URL; ?>images/pl.gif" />
	<h4>
	<a href="<?php echo BLOG_URL; ?>?post=<?php echo $value['logid']; ?>"" class="item_url"><?php echo $value['log_title']; ?></a>
	<span class="sort"><?php blog_sort($value['sortid'], $value['logid']); ?></span>
	</h4>
	<div id="sad11" style="display:none"></div>
	<h5>
	post by <?php blog_author($value['author']); ?> / <?php echo date('Y-n-j G:i l', $value['date']); ?>
	<span class="sort"><?php editflg($value['logid'],$value['author']); ?></span>
	</h5>
<div class="content" id="c11"><?php echo $value['log_description']; ?>
	<div><p><?php blog_att($value['logid']); ?></p>
	<p><?php blog_tag($value['logid']); ?></p>
	<span align="right" style="float:right;">
	<a href="<?php echo BLOG_URL; ?>?post=<?php echo $value['logid']; ?>#comment">Comments(<?php echo $value['comnum']; ?>)</a>
	<a href="<?php echo BLOG_URL; ?>?post=<?php echo $value['logid']; ?>#tb">Trackbacks(<?php echo $value['tbcount']; ?>)</a> 
	<a href="<?php echo BLOG_URL; ?>?post=<?php echo $value['logid']; ?>">Views(<?php echo $value['views']; ?>)</a>
	</span><br /></div>
</div>
</li>
<?php
endforeach;
if ($page_url != ''){
?>
<li class="frame pagenavigation top" style="display:inline;float:right;font-size:small;padding: 0.4em !important;background-color: #f4f4f4;">
Go to the page<?php echo $page_url;?>
</li>
<?php
}
?>
</ul>
</div>
<?php include getViews('footer'); ?>